Most units (except bombers and missiles) can engage the enemy as they make their way to the base, thereby defending yours. There are also special structures such as anti-tank rocket launcher sites and SAM sites that can protect your base.